<div class="doc-content">



<header class="api-profile-header" >
  <h2 class="md-display-1" >{{currentDoc.name}} API Documentation</h2>
  
  

</header>



<div layout="row" class="api-options-bar with-icon"></div>


<div class="api-profile-description">
  <p>The <code>$mdSticky</code>service provides a mixin to make elements sticky.</p>

</div>


<div>
  

  



  <section class="api-section">
      
      <section class="api-section">
  
</section>


      <div class="api-param-table">
  <table class="md-api-table">
  <thead>
  <tr>
    <th>Returns</th>
    <th>Description</th>
  </tr>
  </thead>
  <tbody>
  <tr>
    <td>
</td>
    <td class="description"><p>A <code>$mdSticky</code> function that takes three arguments:</p>
<ul>
<li><code>scope</code></li>
<li><code>element</code>: The element that will be &#39;sticky&#39;</li>
<li><code>elementClone</code>: A clone of the element, that will be shown
when the user starts scrolling past the original element.
If not provided, it will use the result of <code>element.clone()</code>.</li>
</ul>
</td>
  </tr>
  </tbody>
</table>
</div>

    </section>

  
  
  



  
</div>


</div>
